A basic Pie charts example

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.pie.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="400" height="300">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    window.onload = function ()
    {
        var pie = new RGraph.Pie({
            id: 'cvs',
            data: [84,76,79,84,86],
            options: {
                textAccessible: true,
                exploded: [15],
                labels: ['Jack','Hoolio','Kevin','Peter','Luis']
            }
        }).draw()
    };
</script>